//
//  ShangPinAddChengBenTableViewCell.m
//  ErJie
//
//  Created by yaorenjin on 2017/1/31.
//  Copyright © 2017年 yaorenjin. All rights reserved.
//

#import "ShangPinAddChengBenTableViewCell.h"

@implementation ShangPinAddChengBenTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.textField.delegate = self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)reloadData:(id)data
{
    self.spEntity = data;
}

-(void)textFieldDidEndEditing:(UITextField *)textField
{
    self.spEntity.chenben = [textField.text integerValue];
}

@end
